Avoid introspection scanner warning on GtkPlug and GtkSocket
authorPavel Holejsovsky <pholejs@src.gnome.org>
Thu, 28 Jul 2011 11:29:37 +0000 (13:29 +0200)
committerPavel Holejsovsky <pholejs@src.gnome.org>
Mon, 1 Aug 2011 09:09:57 +0000 (11:09 +0200)
Make sure that sources with annotations are included into the list of
sources passed to introspection scanner.

gtk/Makefile.am

index 908b38e099a3fb377f5c0c76d34ba38ce31d3897..e9248f95575ad20dd5ecc3b6d73a1d3235ab5450 100644 (file)
@@ -1007,15 +1007,22 @@ introspection_files = \
     gtktypebuiltins.h \
     gtktypebuiltins.c
 
+if USE_X11
+introspection_files += \
+    gtksocket.c \
+    gtkplug.c
+endif
+
 Gtk-3.0.gir: $(INTROSPECTION_SCANNER) libgtk-3.la $(top_builddir)/gdk/Gdk-3.0.gir Makefile
 Gtk_3_0_gir_SCANNERFLAGS =                     \
        --add-include-path=$(top_builddir)/gdk  \
        --include-uninstalled=$(top_builddir)/gdk/Gdk-3.0.gir
+Gtk_3_0_gir_INCLUDES = Atk-1.0
 if USE_X11
 Gtk_3_0_gir_SCANNERFLAGS += --add-include-path=$(top_builddir)/gdk/x11
+Gtk_3_0_gir_INCLUDES += xlib-2.0
 endif
 Gtk_3_0_gir_SCANNERFLAGS += --c-include="gtk/gtkx.h"
-Gtk_3_0_gir_INCLUDES = Atk-1.0
 Gtk_3_0_gir_CFLAGS = \
                $(AM_CPPFLAGS) \
                -UGDK_DISABLE_DEPRECATED \